package org.raymond.iworks.study.basic.designpattern.observer.improve;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public class Client {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();
        CurrentConditions currentConditions = new CurrentConditions();
        weatherData.register(currentConditions);
        weatherData.setData(30,150, 40);
    }
}
